<?php
$this->breadcrumbs=array(
		'Sản phẩm'=>Yii::app()->createUrl('/product/index'),
		$catName
);
?>
<div class="category-thumb">
	<?php if(!empty($thumbImage)):?>
	<img src="<?php echo Yii::app()->params['shop_url'].$thumbImage;?>" />
	<?php endif;?>
</div>
<div class="head-tool">
	<h3 class="main-title"><?php echo $catName;?></h3>
	<div class="paging">
		 <?php 
		$this->widget('frontend.widgets.Pagination',
					array(
						'pages' => $page,
						'maxButtonCount'=>$itemOnPaging,
						));
		?>
	</div>
</div>
<div class="wr-content">
<?php $this->widget('frontend.widgets.ListProducts.ListProductsWidget', array(
		'data'=>$data,
		'page'=>$page,
		'itemOnPaging'=>$itemOnPaging,
		'total'=>$total
));?>
</div>
<div class="paging">
		 <?php 
		$this->widget('frontend.widgets.Pagination',
					array(
						'pages' => $page,
						'maxButtonCount'=>$itemOnPaging,
						));
		?>
</div>